package com.beordie.model;

import java.util.List;

/**
 * @Classname Grade
 * @Description 班级实体类
 * @Date 2021/6/8 12:09
 * @Created 30500
 */
public class Grade {
    // 班级 ID
    private Integer gradeId;
    // 班级名
    private String gradeName;
    // 年级的学生信息
    private List<Student> students;

    public Grade() {
    }

    public Grade(Integer gradeId, String gradeName, List<Student> students) {
        this.gradeId = gradeId;
        this.gradeName = gradeName;
        this.students = students;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

}
